Script: --on windowEvent wdID,wdName,objNo,objName,objValueツツif objValue="Open" thenツ global mediaツ if media = "Blackboard" thenツ put "i1_Name:PrimPap" & RETURN into xツ elseツ put "i1_Name:Chlkbrd" & RETURN into xツ end ifツ global theToolツ if theTool = "browse" thenツ put "i2_Name:Pointer" & RETURN after xツ elseツ put "i2_Name:Writer" & RETURN after xツ end ifツ global langツ put lang & "_Hilite:true" & RETURN after xツ global sndツ if snd is true thenツ put "i6_Name:Habla" & RETURN after xツ elseツ put "i6_Name:Calla" & RETURN after xツ end ifツ ツ put the short name of this card into tcツ get i14_Text of window wdNameツ repeat with kk = 1 to (the number of lines of it)ツ if line kk of it = tc thenツ put kk into jjツ exit repeatツ end ifツ end repeatツ if jj <> empty thenツ put "i14_Selection:"&jj & RETURN after xツ end ifツ set the properties of window wdName to x ツ ツelse if objValue="Close" then ツ ツelse if objValue="Suspend" then ツ ツelse if objValue="Resume" then ツ ツelse if objValue="CloseBox" then ツ ツelse if objValue="ZoomBox" then ツ ツelse if objValue="GrowBox" then ツ ツelse if objValue="TitleBar" then ツ ツend ifツツ--end windowEvent
ItemType: ICON
Rect: 243,7,275,39
Name: Chlkbrd
Script: --on mouseUp wdID,wdName,objNo,objName,objValueツツget i1_Name of window wdNameツif it is "PrimPap" thenツ set i1_Name of window wdName to "Chlkbrd"ツelseツ set i1_Name of window wdName to "PrimPap"ツend ifツtoggleMediaツ--end mouseUp
ItemType: ICON
Rect: 210,7,242,39
Name: Pointer
Script: --on mouseUp wdID,wdName,objNo,objName,objValueツツget i2_Name of window wdNameツif it is "Pointer" thenツ set i2_Name of window wdName to "Writer"ツ choose the brush toolツelseツ set i2_Name of window wdName to "Pointer"ツ choose the browse toolツend ifツ--end mouseUp
Script: --on mouseUp wdID,wdName,objNo,objName,objValueツget i6_Name of window wdNameツglobal sndツif it is "Habla" thenツ set i6_Name of window wdName to "Calla"ツ put false into sndツelseツ set i6_Name of window wdName to "Habla"ツ put true into sndツend ifツ--end mouseUp
ItemType: PICT
Rect: 6,7,209,101
Name: Teclado
Grid: 6,5
Logic: Push
Script: --on mouseUp wdID,wdName,objNo,objName,objValueツツput false into SDツif the shiftKey is down then put true into SDツget i7_Selection of window wdNameツif it < 27 thenツ if SD thenツ letter (numtoChar(64+it)) ツ elseツ letter (numtoChar(96+it))ツ end ifツelse if it < 29 thenツ letter " " ツelseツ doAWordツend ifツ--end mouseUp
Script: --on mouseUp wdID,wdName,objNo,objName,objValueツglobal langツput "English" into langツ--end mouseUp
ItemType: RAD
Rect: 314,84,388,100
Name: Spanish
Script: --on mouseUp wdID,wdName,objNo,objName,objValueツglobal langツput "Spanish" into langツ--end mouseUp
ItemType: LBL
Rect: 315,11,377,27
Text: Alphabet
ItemType: POP
Rect: 309,31,426,48
Name: alphselect
Text: ManuscriptツCursive
Script: --on mouseUp wdID,wdName,objNo,objName,objValueツget i14_Selection of window wdnameツput it into dddツget i14_Text of window wdNameツput line ddd of it into thecdツif not (there is a cd thecd) thenツ answer ("No such alphabet.")ツelseツ go cd thecdツend ifツ--end mouseUp□